package list;

/**
 * @Author wy
 * @Description 单链表
 * @Date 2023/6/7 14:10
 * @Version 1.0
 */
public class ListNode {
    public int val;
    public ListNode next = null;

    public ListNode(int val) {
        this.val = val;
    }

    public ListNode(int val,ListNode next) {
        this.val = val;
        this.next=next;
    }
}